(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
authorVladimir Petko <vladimir.petko@canonical.com>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
committerMoritz Muehlenhoff <jmm@debian.org>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
commit60c8575d362810f28241962df3af6cdce0eb45bd
tree8df0cd1add521a0de887d5ba1051c66bf27b327a
parent71229045203bd1bfd1b36d34ad0f43b42e6e5504
(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble

Origin: upstream, https://github.com/openjdk/jdk/pull/20208
Bug: https://bugs.openjdk.org/browse/JDK-8336529
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-23/+bug/2073335
Last-Update: 2024-07-17

time_t transition in Debian/Ubuntu left 32 bit time_t symbols in glibc.
Looking up 'futimens' via dlsym returns 32 bit version of the function.
This is causing failure to set last modified time
(e.g. instead of year 2017 we get 1976 in the test).
Using the function directly correctly calls 64 bit versions.
When we lookup functions with time_t arguments through dlsym()
calls we should use 64 bit versions.
Last-Update: 2024-07-17
Gbp-Pq: Name jdk-8336529-proposed.patch
src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c